package com.example.hotel_lxy.ui.activity;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.alibaba.android.arouter.launcher.ARouter;
import com.example.hotel_lxy.R;
import com.example.hotel_lxy.application.ARouterPath;
import com.ysxsoft.common_base.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * 增值服务明细
 */
@Route(path = "/main/IncrementServiceDetailedActivity")
public class IncrementServiceDetailedActivity extends BaseActivity {

    @BindView(R.id.back)
    ImageView back;

    public static void start() {
        ARouter.getInstance().build(ARouterPath.getIncrementServiceDetailedActivity())
                .navigation();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_increment_service_detailed;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
    }

    @Override
    public void doWork() {
        super.doWork();
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}